﻿using System;

namespace Domain.Infrastructure
{  
    /// <summary>
    /// 修改约束
    /// </summary>
    public interface IModifyAudited
    {
        string Id { get; set; }
        /// <summary>
        /// 最后修改用
        /// </summary>
        string LastModifyUserId { get; set; }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        DateTime? LastModifyTime { get; set; }

        void Modify(string userId, string id);
    }
}